package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: wtf
 * @Description: 开合闸表
 * @Date: 2022/10/20/10:19
 */
@Data
@TableName("rb_on_or_off")
public class OnOrOff implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Integer id;

    @ApiModelProperty("从机id")
    private Integer slaveId;

    @ApiModelProperty("从机名称")
    private String slaveName;

    @ApiModelProperty("柜号")
    private String cntrNo;

    @ApiModelProperty("柜名称")
    private String cntrName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("（1：断开（红灯）2：闭合（绿灯））")
    private Integer status;

}
